package com.jxx.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jxx.pojo.Item;
import com.jxx.pojo.Shopcart;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ShopcartMapper extends BaseMapper<Shopcart> {
    /**
     * 获取用户的购物车商品ID
     * @param userId
     * @return
     */
    List<Item> findUserItem(Integer userId);

    //Integer  deleteItemId();

    //Integer delteItemId(List<Integer> itemIds);






}
